import axios from "@/axios.js";

//获取分页数据
export function getTagPageList(data){
    return axios.post('/admin/tag/list',data)
}

export function addTag(data){
    return axios.post('/admin/tag/add',data)
}


export function deleteTag(id){
    return axios.post('/admin/tag/delete',{id})
}

// 根据标签名模糊查询
export function searchTags(name){
    return axios.post('/admin/tag/search/list',{name})
}
